package routers

import (
	"genealogy/controllers"

	"github.com/gin-gonic/gin"
)

func RelationshipRouter(r *gin.RouterGroup) {
	r.GET("/relationship", controllers.GetRelationship)
	r.DELETE("/relationship", controllers.DelRelationship)
	r.PUT("/relationship", controllers.UpdateRelationship)
	r.POST("/relationship", controllers.AddRelationship)
}
